package com.cloudbroker.bcs.platform.dav.bizexport.t2.business;

import com.cloudbroker.bcs.platform.dav.bizapi.service.business.customer.UserManagerBizService;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.customer.back.BatchImportBrokerBackForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.customer.vo.BatchImportBrokerListForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.customer.vo.BatchImportVoteListForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.customer.vo.BatchImportZXConfigListForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.upvote.UpvoteBizService;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.upvote.back.BatchImportVoteBackForm;
import com.cloudbroker.bcs.platform.dav.bizapi.t2service.business.BatchImportT2BizService;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceParam;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by zhaojp18008 on 2016/10/26.
 */
@Service
public class BatchImportT2 implements BatchImportT2BizService {
    @Resource
    private UserManagerBizService userManagerBizService;
    @Resource
    private UpvoteBizService  upvoteBizService;

    @Override
    public BatchImportBrokerBackForm funcBatchImportBroker(@ServiceParam("param") BatchImportBrokerListForm param) {
        return userManagerBizService.funcBatchImportBroker(param);
    }

    @Override
    public BatchImportVoteBackForm funcBatchImportVote(@ServiceParam("param") BatchImportVoteListForm param) {
        return upvoteBizService.funcBatchImportVote(param);
    }

    @Override
    public BatchImportVoteBackForm funcBatchImportFinanceConfig(@ServiceParam("param") BatchImportZXConfigListForm param) {
        return upvoteBizService.funcBatchImportFinanceConfig(param);
    }
}
